package com.uzai.console.mapper;


import com.uzai.console.entity.DevicePrice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DevicePriceMapper {
    int deleteById(Long id);

    int insert(DevicePrice record);

    int insertSelective(DevicePrice record);

    DevicePrice selectById(Long id);

    DevicePrice selectByAuthType(@Param("authType") Integer authType, @Param("code") String code, @Param("deviceTypeId") Integer deviceTypeId);

    int updateByIdSelective(DevicePrice record);

    int updateById(DevicePrice record);
}